package com.bl.student.dao.repository;

import com.bl.student.common.enums.OnlineStatus;
import com.bl.student.common.enums.TagType;
import com.bl.student.dao.model.TagEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by yujingyi on 2018/1/29.
 */
public interface TagRepository extends JpaRepository<TagEntity, String> {

    Page<TagEntity> findAllByOrderByCreateTimeDesc(Pageable pageable);

}
